using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Configuration;

namespace Beetle;

public class ServerSection : ConfigurationElement
{
	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	internal const string a = "name";

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	internal const string b = "type";

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	internal const string c = "host";

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	internal const string d = "port";

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	internal const string e = "littleEndian";

	[Description("The Name.")]
	[ConfigurationProperty("name", IsRequired = true, IsKey = true, IsDefaultCollection = false)]
	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	public virtual string Name
	{
		get
		{
			return (string)base["name"];
		}
		set
		{
			base["name"] = value;
		}
	}

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	[ConfigurationProperty("type", IsRequired = true, IsKey = false, IsDefaultCollection = false)]
	[Description("The Type.")]
	public virtual string Type
	{
		get
		{
			return (string)base["type"];
		}
		set
		{
			base["type"] = value;
		}
	}

	[Description("The Host.")]
	[ConfigurationProperty("host", IsRequired = false, IsKey = false, IsDefaultCollection = false)]
	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	public virtual float Host
	{
		get
		{
			return (float)base["host"];
		}
		set
		{
			base["host"] = value;
		}
	}

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	[Description("The Port.")]
	[ConfigurationProperty("port", IsRequired = false, IsKey = false, IsDefaultCollection = false, DefaultValue = 8088)]
	public virtual int Port
	{
		get
		{
			return (int)base["port"];
		}
		set
		{
			base["port"] = value;
		}
	}

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	[Description("The LittleEndian.")]
	[ConfigurationProperty("littleEndian", IsRequired = false, IsKey = false, IsDefaultCollection = false, DefaultValue = true)]
	public virtual bool LittleEndian
	{
		get
		{
			return (bool)base["littleEndian"];
		}
		set
		{
			base["littleEndian"] = value;
		}
	}

	[GeneratedCode("ConfigurationSectionDesigner.CsdFileGenerator", "2.0.0.5")]
	public override bool IsReadOnly()
	{
		return false;
	}
}
